package cn.edu.sjtu.se;

import java.io.FileNotFoundException;

import cn.edu.sjtu.se.metric.Collector;
import cn.edu.sjtu.se.role.Porter;

public class Controller {

	public static void main(String[] args) throws InterruptedException,
			FileNotFoundException {

		Collector collector = new Collector();
		Config config = new Config();

		Porter p = new Porter(collector, config);
		p.start();
		p.join();

		collector.report();
	}

}
